package unit5.part7;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String text = scanner.next();
        String[] array = text.split(";");
        SixteenNumberLogic logic = new SixteenNumberLogic(array[0], array[1]);
        System.out.println(logic.plus());
        System.out.println(logic.multiply());
    }
}
